#ifndef __jwy_AT24C02_driver_h_
#define __jwy_AT24C02_driver_h_

#include "MCF52259_IIC_driver.h"

#define WRITE 0xA0
#define READ  0xA1

void at24c02_byte_write(uint8 address,uint8 data);
void at24c02_page_write(uint8 address ,uint8 str[],uint8 num);
uint8 at24c02_random_read(uint8 address);
void at24c02_sequential_read(uint8 address,uint8 receive[],uint8 num);



#endif